package chapter_twelve.p169;

/**
 * Data time:2021/10/19 17:27
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class Client {
    public static void main(String[] args) {
        Component component,componentSB;                   //使用抽象构建定义对象
        component = new Window();                          //创建具体构建对象
        componentSB = new ScrollBarDecorator(component);   //创建修饰后的构架对象
        componentSB.display();
    }
}
